<template>
  <div class="homeHeader-box">
    <div class="header-top">
      <div class='title'>让居住简单有趣</div>
      <img src="/img/publicImg/爱上租_首页/bannerX@2x.png" alt="">
      <div class="homeHeader-export">
        <input type="text" class="search-box" placeholder="小区 / 地点 / 商圈">
        <div class="region">杭州</div>
        <img class='arrow' src="/img/publicImg/爱上租_首页/arrow__03.gif">
        <img src="/img/publicImg/爱上租_首页/搜索 (1)@2x.png" alt="" class="export-glass">
      </div>
    </div> 
    <div class="header-bottom"> 
      <div class="near-house">
        <img src="/img/publicImg/爱上租_首页/地图找房@2x.png" alt="">
        <div>附近房源</div>
      </div>
      <div class="near-house">
        <img src="/img/publicImg/爱上租_首页/整租@2x.png" alt="">
        <div>整租</div>
      </div>
      <div class="near-house">
        <img src="/img/publicImg/爱上租_首页/合租@2x.png" alt="">
        <div>合租</div>
      </div>
      <div class="near-house">
        <img src="/img/publicImg/爱上租_首页/品牌公寓@2x.png" alt="">
        <div>品牌公寓</div>
      </div>
      <div class="near-house">
        <img src="/img/publicImg/爱上租_首页/业主委托@2x.png" alt="">
        <div>业主委托</div>
      </div>
    </div>   
  </div>
</template>
<style lang="scss" scoped>
.homeHeader-box{
  .header-top{
    .title{
      font-family: YouYuan;
      font-size: 0.24rem;
      color: #666666;
      position: absolute;
      margin-left: 50%;
      transform: translate(-50%,0.5rem)
    }
    &>img{
      width: 100%
    }
    .homeHeader-export{
      font-size: 0.14rem;
      color: #000000;
      position: relative;
      .search-box{
        position: absolute;
        left: 50%;
        transform: translate(-50%,-75%);
        width: 3.1rem;
        height: 0.42rem;
        line-height: 0.48rem;
        text-indent: .95rem;
        color: #C4B1B6;
        font-size: 0.14rem;
        border-radius: 0.03rem;
        box-shadow: 0 0 0.15rem 0.02rem #C4B1B6;
        &::-webkit-input-placeholder {
        color: #999; 
        }
      }
      .region{
        position: absolute;
        top: -0.18rem;
        left: .45rem;
      }
      .arrow{
        width: 0.1rem;
        height: 0.06rem;
        position: absolute;
        top: -0.14rem;
        left: .77rem;
      }
      .export-glass{
        width: 0.17rem;
        height: 0.16rem;
        position: absolute;
        top: -0.185rem;
        left: 1rem;
      }
    }
  }
  .header-bottom{
      display: flex;
      padding: 0 0.2rem 0 0.14rem;
      margin-top: 0.32rem;
      &>div{
        font-family: PingFang-SC-Regular;
        font-weight: 350;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.12rem;
        color: #333333;
        flex: 1;
        &>img{
          width: 0.25rem;
          height: 0.27rem;
          margin-bottom: 0.2rem;
        }
      }
  }
}
</style>

